package cn.tedu.trading_platform.mapper;

import cn.tedu.trading_platform.pojo.dto.cartDTO.AddCartParam;
import cn.tedu.trading_platform.pojo.dto.cartDTO.LookId;
import cn.tedu.trading_platform.pojo.entity.Cart;
import cn.tedu.trading_platform.pojo.vo.CartVO;
import cn.tedu.trading_platform.pojo.vo.IdVO;

import java.util.List;

public interface CartMapper {
    int insertCart(AddCartParam addCartParam);
    IdVO selectCart(LookId lookId);//根据商家id和商品名称查询商品id
    List<CartVO> selectAllCart(Long id);

}
